home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-panel-data.postinst < prev    next >
Encoding:
Text File  |  2009-04-17  |  1.2 KB  |  35 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. # Automatically added by dh_scrollkeeper
  5. if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then
  6.     scrollkeeper-update -q
  7. fi
  8. # End automatically added section
  9. # Automatically added by dh_gconf
  10. if [ "$1" = "configure" ]; then
  11.     gconf-schemas --register panel-compatibility.schemas panel-global.schemas panel-general.schemas panel-toplevel.schemas panel-object.schemas clock.schemas fish.schemas workspace-switcher.schemas window-list.schemas 
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_icons
  15. if which update-icon-caches >/dev/null 2>&1 ; then
  16.     update-icon-caches /usr/share/icons/hicolor
  17. fi
  18. # End automatically added section
  19.  
  20.  
  21. update-gconf-defaults
  22.  
  23. if [ "$1" = configure ] && [ -n "$2" ] && \
  24.     dpkg --compare-versions "$2" lt "2.20.1-2"; then
  25.     rm -f /etc/menu-methods/gnome-panel-data /etc/menu-methods/gnome-vfolder-user
  26.     rm -f /etc/gnome-vfs-2.0/vfolders/applications.template
  27.     if [ -d /etc/gnome-vfs-2.0/vfolders ]; then
  28.         rmdir --ignore-fail-on-non-empty /etc/gnome-vfs-2.0/vfolders
  29.     fi
  30.     rm -rf /var/lib/gnome/Debian
  31.     if [ -d /var/lib/gnome ]; then
  32.         rmdir --ignore-fail-on-non-empty /var/lib/gnome
  33.     fi
  34. fi
  35.